﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class KeepCoin : MonoBehaviour {
    public static KeepCoin con;
    private void Awake()
    {
        if (con == null)
        {
            DontDestroyOnLoad(gameObject);
            con = this;
        }
        else if (con != null)
        {
            Destroy(gameObject);
        }
    }

    public int CoinAll;
    public int AttackValue;
}
